package cn.lingyangwl.agile.food.model.entity;

import cn.lingyangwl.agile.model.constants.CommonCons;
import cn.lingyangwl.agile.model.BasePlusPO;
import cn.lingyangwl.agile.tenant.core.DataIsolation;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import lombok.Getter;
import lombok.Setter;

/**
 * 店铺桌台
 *
 * @author shenguangyang
 */
@Getter
@Setter
@TableName("food_table")
@DataIsolation(filterTenant = true, tableName = "food_table")
public class ShopTable extends BasePlusPO {
    @TableId
	private Long id;
	
	/**
	 * 桌号编码
	 */
	private String code;
	
	/**
	 * 分类id
	 */
	private Long categoryId;

	/**
	 * 状态
	 * @see CommonCons.UseStats
	 */
	private String status;
	
	/**
	 * 排序
	 */
	private Integer sortNo;

    public static LambdaQueryWrapper<ShopTable> lqw() {
		return Wrappers.lambdaQuery();
	}


}